package com.demo.zhou.sniper.zzUtil.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author Administrator
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Track {

    /**
     * 记录轨迹 (横向：真 ，纵向：假)
     */
    private Boolean track;

    /**
     * 标记(有：真，无：假)
     */
    private Boolean mark;

    /**
     * 是否对错
     */
    private Boolean isCorrect;


    @Override
    public String toString() {
        return (track ? "横向" : "纵向") + "，" + (mark ? "有标识" : "无标识") + "，" + ((isCorrect != null) ?(isCorrect ? "对" : "错"):"无");
    }
}
